package com.line.model.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "指定数据库生成实体类")
public class GenerateTablePojo {

	@ApiModelProperty(name = "dbName", value = "数据库名", required = true)
	private String dbName;

	@ApiModelProperty(name = "tableName", value = "为空，生成所有表。不为空，则只生成指定的表")
	private String tableName;

	@ApiModelProperty(name = "db_driver", value = "链接数据库的驱动", required = true)
	private String db_driver;

	@ApiModelProperty(name = "db_url", value = "数据库URL", required = true)
	private String db_url;

	@ApiModelProperty(name = "db_user", value = "登录数据库用户名", required = true)
	private String db_user;

	@ApiModelProperty(name = "db_pwd", value = "登录数据库的密码", required = true)
	private String db_pwd;

	@ApiModelProperty(name = "packageName", value = "需要生成实体类的包路径", required = true)
	private String packageName;

	@ApiModelProperty(name = "resPackage", value = "需要生成数据访问层的包路径", required = true)
	private String resPackage;

	@ApiModelProperty(name = "downloadPath", value = "数据库名", required = true)
	private String downloadPath;

	@ApiModelProperty(name = "outputPath", value = "生成之后需要下载的链接地址", required = true)
	private String outputPath;

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getDb_driver() {
		return db_driver;
	}

	public void setDb_driver(String db_driver) {
		this.db_driver = db_driver;
	}

	public String getDb_url() {
		return db_url;
	}

	public void setDb_url(String db_url) {
		this.db_url = db_url;
	}

	public String getDb_user() {
		return db_user;
	}

	public void setDb_user(String db_user) {
		this.db_user = db_user;
	}

	public String getDb_pwd() {
		return db_pwd;
	}

	public void setDb_pwd(String db_pwd) {
		this.db_pwd = db_pwd;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getResPackage() {
		return resPackage;
	}

	public void setResPackage(String resPackage) {
		this.resPackage = resPackage;
	}

	public String getOutputPath() {
		return outputPath;
	}

	public void setOutputPath(String outputPath) {
		this.outputPath = outputPath;
	}

	public String getDownloadPath() {
		return downloadPath;
	}

	public void setDownloadPath(String downloadPath) {
		this.downloadPath = downloadPath;
	}

}
